package com.zhongan.gateway.service;

import java.util.List;

import com.zhongan.gateway.bean.Developer;
import com.zhongan.gateway.bean.DeveloperIp;
import com.zhongan.gateway.web.common.PageDTO;

public interface DeveloperService {

    //developer 操作
    int deleteDeveloperById(Long id, String appkey);

    String insertDeveloper(Developer record);

    int updateDeveloper(Developer record);

    Developer selectDeveloperById(Long id);

    List<Developer> selectDevelopers(Developer record);

    Developer selectDeveloperByAppKey(String appKey);

    PageDTO<Developer> selectPageDevelopers(String appKey, String devName, Integer start, Integer limit);

    //developerId 操作
    int deleteIpById(Long id, Long developerId);

    int insertIp(DeveloperIp record);

    DeveloperIp selectIpById(Long id);

    List<DeveloperIp> selectIps(Long developerId);

}
